home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part2 / 12224 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.3 KB

  1. Path: mail2news.demon.co.uk!tsys.demon.co.uk
  2. From: Tom Wheeley <tomw@tsys.demon.co.uk>
  3. Newsgroups: comp.lang.c
  4. Subject: Re: I need help.
  5. Date: Fri, 29 Mar 96 20:06:37 GMT
  6. Organization: City Zen FM
  7. Message-ID: <828129997snz@tsys.demon.co.uk>
  8. References: <4j9hr7$skj@cronkite.seas.gwu.edu> <4jdg6b$sba@news.xs4all.nl>
  9. Reply-To: tomw@tsys.demon.co.uk
  10. X-NNTP-Posting-Host: tsys.demon.co.uk
  11. X-Newsreader: Demon Internet Simple News v1.30
  12. X-Sig-By: Tomsystems Quote v1.2.  (c)1996 Tom Wheeley, tomw@tsys.demon.co.uk
  13. X-Mail2News-Path: tsys.demon.co.uk
  14.  
  15. In article <4jdg6b$sba@news.xs4all.nl> falstaff@xs4all.nl "Falstaff" writes:
  16.  
  17. > celtik@gwis2.circ.gwu.edu (Tolga Celtikci) writes:
  18. > >Can anyone help me with the syntax of EOF. Is it '\o' or something else?
  19. > #include <stdio.h>
  20. > Then, EOF is EOF.  (Usually defined as -1).  Note that EOF is an
  21. > int and not a char, so you can't include it in a string.
  22.  
  23. Not only that, it is pointless in a string.  Just 'cos DOS has ^Z at the
  24. end of a file, doesn't mean that anything else (including DOS :) has to.
  25.  
  26. .splitbung, who once managed to get a ^Z in the middle of a mail file, and
  27. still hasn't forgiven dos.
  28. -- 
  29. * TQ 1.0 * The 'Just So Quotes'.
  30. "I think you should defend to the death their right to march, and then go 
  31.  down and meet them with baseball bats."
  32.     -- Woody Allen, on the KKK
  33.